﻿using System.Runtime.Serialization;

namespace Lhz.Sc.Entity.Database
{
    [DataContract(IsReference = true)]
    public class User : DatabaseEntity
    {
        [DataMember]
        public virtual string Username { get; set; }

        [DataMember]
        public virtual string Password { get; set; }

        [DataMember]
        public virtual bool IsAdmin { get; set; }

        [DataMember]
        public virtual string Name { get; set; }

        [DataMember]
        public virtual string Phone { get; set; }
    }
}
